export const urls = {
  login: {
    signin: '/admin/login.action',
    logout: '/admin/logout',
    getInfo: '/admin/user/info/'
  },

  insuranceCompany: {
    baseUrl: '/admin/insurance/company',
    action: {
      listAll: '/list/all',
      list: '/list',
      add: '/add',
      get: '/get/',
      update: '/update/',
      remove: '/delete'
    }
  },

  insuranceServiceSupplier: {
    listAll: '/admin/insurance/service/supplier/list/all',
    listOperationRescueCompany: '/admin/insurance/service/supplier/operation/list',
    listRescueCompany: '/admin/insurance/service/supplier/list',
    getRescueCompanyById: '/admin/insurance/service/supplier/get/',
    updateBaseRescueCompany: '/admin/insurance/service/supplier/update/',
    removeRescueCompany: '/admin/insurance/service/supplier/delete'
  },

  insuranceServiceEmployee: {
    listAllRescueDriver: '/admin/insurance/service/employee/list/all/',
    listManager: '/admin/insurance/service/employee/manager/list',
    listDriver: '/admin/insurance/service/employee/list',
    listGroupRescueEmployee: '/admin/insurance/service/employee/group/list',
    getRescueEmployeeById: '/admin/insurance/service/employee/get/',
    updateRescueCompanyManager: '/admin/insurance/service/employee/update/role',
    removeRescueEmployee: '/admin/insurance/service/employee/delete',
    auditRescueCompanyManager: '/admin/insurance/service/employee/audit/manager/',
    auditRescueCompanyDriver: '/admin/insurance/service/employee/audit/employee/',
    countAuditingInsuranceCompanyManager: '/admin/insurance/service/employee/audit/manager/count'
  },

  carInsurranceInquiry: {
    baseUrl: '/admin/car/insurance/inquiry',
    action: {
      list: '/list',
      get: '/get/',
      quoteCarInsuranceInquiry: '/quote/',
      remove: '/delete',
      listCarInsuranceInquiryItem: '/item/list'
    }
  },

  insuranceClassify: {
    baseUrl: '/admin/insurance/classify',
    action: {
      listAll: '/list/all',
      list: '/list',
      add: '/add',
      get: '/get/',
      update: '/update/',
      setUploadConstraint: '/set/upload/constraint/',
      setDividedStrategy: '/set/divided/strategy/',
      remove: '/delete'
    }
  },

  insuranceInfo: {
    baseUrl: '/admin/insurance/info',
    action: {
      listAll: '/list/all',
      list: '/list',
      add: '/add',
      get: '/get/',
      update: '/update/',
      setDividedStrategy: '/set/divided/strategy/',
      setUploadConstraint: '/set/upload/constraint/',
      remove: '/delete',
      updateStatus: '/update/status/',
      updategiftProduct: '/update/gift/'
    }
  },
  insuranceOrder: {
    baseUrl: '/admin/insurance/order',
    action: {
      list: '/list',
      get: '/get/',
      handleOrderValid: '/order/valid',
      remove: '/delete'
    }
  },

  payRecord: {
    baseUrl: '/admin/pay/record',
    action: {
      list: '/list'
    }
  },

  accidentReport: {
    baseUrl: '/admin/accident/report',
    action: {
      listServiceAccidentReport: '/service/list',
      list: '/list',
      get: '/get/',
      getAccidentReportProcess: '/process/get/',
      reachAccidentScene: '/reach/scene',
      lossAssessment: '/lose/assessment',
      closeCase: '/close/case',
      cancelAccident: '/cancel/accident',
      remove: '/delete'
    }
  },

  accidentReportPayInfo: {
    baseUrl: '/admin/accident/report/pay/info',
    action: {
      list: '/list',
      get: '/get/',
      remove: '/delete'
    }
  },

  accidentReportPayRecord: {
    baseUrl: '/admin/accident/report/pay/record',
    action: {
      list: '/list',
      add: '/add'
    }
  },

  electronicWorksheets: {
    listOperationWorkOrder: '/admin/worksheets/operation/list',
    listElectronicWorksheets: '/admin/worksheets/list',
    workOrderOperationView: '/admin/worksheets/operation/view/',
    workOrderView: '/admin/worksheets/view/',
    removeOperationElectronicWorksheets: '/admin/worksheets/operation/delete',
    removeElectronicWorksheets: '/admin/worksheets/delete',
    countWorkOrder: '/admin/worksheets/count',
    generateWorkOrderForm: '/admin/worksheets/generate/workorder/form',
    initCarCondition: '/admin/worksheets/init/car/condition/',
    updateWorkOrderKm: '/admin/worksheets/mileage/update/'
  },

  electronicWorksheetsTemplate: {
    listAllElectronicWorksheetsTemplate: '/admin/worksheets/template/list/all',
    listElectronicWorksheetsTemplate: '/admin/worksheets/template/list',
    addElectronicWorksheetsTemplate: '/admin/worksheets/template/add',
    getElectronicWorksheetsTemplate: '/admin/worksheets/template/get/',
    updateElectronicWorksheetsTemplate: '/admin/worksheets/template/update/',
    updateUseRange: '/admin/worksheets/template/update/userange/',
    removeElectronicWorksheetsTemplate: '/admin/worksheets/template/delete'
  },

  onlineServiceCompany: {
    listAllOnlineServiceCompany: '/admin/online/service/company/list/all',
    listOnlineServiceCompany: '/admin/online/service/company/list',
    addOnlineServiceCompany: '/admin/online/service/company/add',
    getOnlineServiceCompany: '/admin/online/service/company/get/',
    updateOnlineServiceCompany: '/admin/online/service/company/update/',
    setWorkTemplate: '/admin/online/service/company/set/worktemplate/',
    removeOnlineServiceCompany: '/admin/online/service/company/delete'
  },

  messageTemplate: {
    listAll: '/admin/message/template/list/all',
    list: '/admin/message/template/list',
    save: '/admin/message/template/add',
    getById: '/admin/message/template/get/',
    update: '/admin/message/template/update/',
    remove: '/admin/message/template/delete'
  },

  signUser: {
    list: '/admin/sign/user/list',
    get: '/admin/sign/user/get/',
    remove: '/admin/sign/user/delete',
    freezeSignUser: '/admin/sign/user/freeze/'
  },
  rescueAgent: {
    listAuditAgent: '/admin/agent/info/audit/list',
    listProdiverAgent: '/admin/agent/info/prodiver/list',
    listAllAgent: '/admin/agent/info/list/all',
    listAgent: '/admin/agent/info/list',
    getRescueAgentById: '/admin/agent/info/get/',
    removeRescueAgent: '/admin/agent/info/delete',
    auditRescueAgent: '/admin/agent/info/audit/',
    listAgentPayable: '/admin/agent/info/payables/list',
    saveProdiverAgent: '/admin/agent/info/prodiver/save',
    updateProdiverAgent: '/admin/agent/info/prodiver/update',
    removeProdiverAgent: '/admin/agent/info/province/delete',
    unfreezeCommission: '/admin/agent/info/unfreeze/commission',
    adjustmentIntegral: '/admin/agent/info/adjustment/integral',
    adjustmentCommission: '/admin/agent/info/adjustment/commission',
    countAuditingRescueCompanyAgent: '/admin/agent/info/auditing/count',
    listAllAgentDriver: '/admin/agent/info/list/all/driver/',
    listServiceProdiverAgent: '/admin/agent/info/service/prodiver/list',
    list: '/admin/agent/info/service/list',
    getInfoWithOffLine:'/admin/agent/info/getInfoWithOffLine',
    changeShowPromotion:'/admin/agent/info/changeShowPromotion',
    getMyOffLine:'/admin/agent/info/getMyOffLine',
  },

  rescueCompany: {
    listAllRescueCompany: '/admin/rescue/company/list/all',
    listOperationRescueCompany: '/admin/rescue/company/operation/list',
    listRescueCompany: '/admin/rescue/company/list',
    getRescueCompanyById: '/admin/rescue/company/get/',
    getOperationById: '/admin/rescue/company/operation/get/',
    updateBaseRescueCompany: '/admin/rescue/company/update/',
    removeRescueCompany: '/admin/rescue/company/delete',
    setWorkTemplate: '/admin/rescue/company/set/worktemplate/',
    listCompanyPayables: '/admin/rescue/company/payables/list',
    unfreezeCommission: '/admin/rescue/company/unfreeze/commission',
    adjustmentIntegral: '/admin/rescue/company/adjustment/integral',
    adjustmentCommission: '/admin/rescue/company/adjustment/commission',
    mergeFormData: '/api/rescue/merge/'
  },

  rescueEmployee: {
    listAllRescueDriver: '/admin/rescue/company/employee/list/all/driver/',
    listManager: '/admin/rescue/company/employee/manager/list',
    listOperationDriver: '/admin/rescue/company/employee/driver/operation/list',
    listAuditDriver: '/admin/rescue/company/employee/driver/audit/list',
    listDriver: '/admin/rescue/company/employee/driver/list',
    listGroupRescueEmployee: '/admin/rescue/company/employee/group/list',
    getRescueEmployeeById: '/admin/rescue/company/employee/get/',
    updateRescueCompanyManager: '/admin/rescue/company/employee/update/role',
    removeRescueEmployee: '/admin/rescue/company/employee/delete',
    auditRescueCompanyManager: '/admin/rescue/company/employee/audit/manager/',
    auditRescueCompanyDriver: '/admin/rescue/company/employee/audit/driver/',
    countRescueCompanyEmployee: '/admin/rescue/company/employee/count',
    listCompanyPayables: '/admin/rescue/company/employee/manager/payables/list',
    listDriverPayables: '/admin/rescue/company/employee/driver/payables/list',
    unfreezeCommission: '/admin/rescue/company/employee/unfreeze/commission',
    adjustmentIntegral: '/admin/rescue/company/employee/adjustment/integral',
    adjustmentCommission: '/admin/rescue/company/employee/adjustment/commission',
    againApplyRescueCompanyDriver: '/admin/rescue/company/employee/again/apply/driver/',
    countAuditingRescueCompanyManager: '/admin/rescue/company/employee/manager/count',
    countAuditingRescueCompanyDriver: '/admin/rescue/company/employee/driver/count'
  },

  rescueCar: {
    baseUrl: '/admin/rescue/car',
    action: {
      list: '/list',
      add: '/add',
      get: '/get/',
      update: '/update/',
      remove: '/delete'
    }
  },
  operationRescueCar: {
    baseUrl: '/admin/rescue/car/operation',
    action: {
      list: '/list',
      add: '/add',
      get: '/get/',
      update: '/update/',
      remove: '/delete'
    }
  },

  control: {
    listAllControl: '/admin/control/list/all',
    listControl: '/admin/control/list',
    addControl: '/admin/control/add',
    getControl: '/admin/control/get/',
    updateControl: '/admin/control/update/',
    removeControl: '/admin/control/delete'
  },

  controlAttr: {
    listControlAttr: '/admin/control/attr/list',
    addControlAttr: '/admin/control/attr/add',
    getControlAttr: '/admin/control/attr/get/',
    updateControlAttr: '/admin/control/attr/update/',
    removeControlAttr: '/admin/control/attr/delete'
  },

  formTemplate: {
    listFormTemplate: '/admin/form/template/list',
    addFormTemplate: '/admin/form/template/add',
    getFormTemplate: '/admin/form/template/get/',
    updateFormTemplate: '/admin/form/template/update/',
    removeFormTemplate: '/admin/form/template/delete'
  },

  formTemplateConfig: {
    listAll: '/admin/form/template/config/list/all',
    listFormTemplateConfig: '/admin/form/template/config/list',
    getFormTemplateConfig: '/admin/form/template/config/get/',
    removeFormTemplateConfig: '/admin/form/template/config/delete'
  },

  formGroupRItem: {
    listformGroupRItem: '/admin/form/group/r/item/list',
    getformGroupRItem: '/admin/form/group/r/item/get/',
    removeformGroupRItem: '/admin/form/group/r/item/delete'
  },

  formGroup: {
    listFormGroup: '/admin/form/group/list',
    addFormGroup: '/admin/form/group/add',
    getFormGroup: '/admin/form/group/get/',
    updateFormGroup: '/admin/form/group/update/',
    removeFormGroup: '/admin/form/group/delete'
  },

  formItem: {
    listFormItem: '/admin/form/item/list',
    addFormItem: '/admin/form/item/add',
    getFormItem: '/admin/form/item/get/',
    updateFormItem: '/admin/form/item/update/',
    removeFormItem: '/admin/form/item/delete'
  },

  organization: {
    listAllOrganization: '/admin/organization/list/all',
    listOrganization: '/admin/organization/list',
    addOrganization: '/admin/organization/add',
    getOrganizationById: '/admin/organization/get/',
    updateOrganization: '/admin/organization/update/',
    removeOrganization: '/admin/organization/delete'
  },

  organization2role: {
    listRoleSelectd: '/admin/list/organization/role/selected',
    listRoleNoSelectd: '/admin/list/organization/role/noselected/',
    updateOrganizationRole: '/admin/organization/role/add'
  },

  user: {
    listAllUser: '/admin/user/list/all',
    listUser: '/admin/user/list',
    addUser: '/admin/user/add',
    getUserById: '/admin/user/get/',
    updateUser: '/admin/user/update/',
    updatePassword: '/admin/user/resetpassword',
    removeUser: '/admin/user/delete',
    uploadHeadImgUrl: '/admin/user/upload',
    pUpdateUser: '/admin/user/info/update',
    pUpdatePassword: '/admin/user/info/resetpassword'
  },

  user2role: {
    listAllRoleSelectd: '/admin/list/all/role/selected/',
    saveUser2Role: '/admin/user2role/add'
  },

  role: {
    listAllRole: '/admin/role/list/all',
    listRole: '/admin/role/list',
    listServiceRole: '/admin/role/service/list',
    addRole: '/admin/role/add',
    addServicePrivoderRole: '/admin/role/service/add',
    getRoleById: '/admin/role/get/',
    updateRole: '/admin/role/update/',
    removeRole: '/admin/role/delete',
    listAgentsAllRole: '/admin/role/list/agents/all'
  },

  module: {
    listAllModule: '/admin/module/list/all',
    listModule: '/admin/module/list',
    addModule: '/admin/module/add',
    getModuleById: '/admin/module/get/',
    updateModule: '/admin/module/update/',
    removeModule: '/admin/module/delete',
  },

  operation: {
    listAllOperation: '/admin/operation/list/all',
    listOperation: '/admin/operation/list/',
    addOperation: '/admin/operation/add',
    getOperationById: '/admin/operation/get/',
    updateOperation: '/admin/operation/update/',
    removeOperation: '/admin/operation/delete',
  },
  menu: {
    listAllMenu: '/admin/menu/list/all'
  },
  permission: {
    listAllPermission: '/admin/list/permission/all',
    listPermissionSelectd: '/admin/list/permission/selected/',
    listPermissionNoSelectd: '/admin/list/permission/noselected/',
    savePermission: '/admin/permission/add',
    removePermission: '/admin/permission/delete',
    reloadPermission: '/admin/permission/reload'
  },

  dictionary: {
    listAll: '/admin/dictionary/list/all',
    listAllDictory: '/admin/dictionary/list/all/',
    listDictory: '/admin/dictionary/list',
    saveDictory: '/admin/dictionary/add',
    getDictory: '/admin/dictionary/get/',
    updateDictory: '/admin/dictionary/update/',
    removeDictory: '/admin/dictionary/delete'
  },

  log: {
    listLog: '/admin/log/list'
  },

  sysInfo: {
    listSysSetting: '/admin/sys/info/setting/list',
    updateSettingInfo: '/admin/sys/info/setting/update'
  },

  industry: {
    addIndustry: '/admin/industry/add',
    removeIndustry: '/admin/industry/del',
    updateIndustry: '/admin/industry/update',
    listIndustry: '/admin/industry/list',
    getIndustry: '/admin/industry/load/id/',
    batchRemoveIndustry: '/admin/industry/batchDel',
    listAll: '/admin/industry/listAll'
  },
  protocol: {
    add: '/admin/protocol/add',
    del: '/admin/protocol/del',
    update: '/admin/protocol/update',
    list: '/admin/protocol/list',
    load: '/admin/protocol/load/id/',
    batchDel: '/admin/protocol/batchDel'
  },
  arbitration: {
    add: '/admin/arbitration/add',
    del: '/admin/arbitration/del',
    changeState: '/orderTruckInfo/changeState',
    list: '/admin/arbitration/list',
    load: '/admin/arbitration/load/'
  },
  transportConfirm: {
    add: '/admin/transportConfirm/add',
    del: '/admin/transportConfirm/del',
    update: '/admin/transportConfirm/update',
    list: '/admin/transportConfirm/list',
    load: '/admin/transportConfirm/load/'
  },
}
